package com.dp.iot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/
@Data
public class IotUserOrg implements Serializable{

    private String userOrgId;//用户组织ID
    private String userId;//用户ID
    private String orgId;//组织ID
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp creationTime;//创建时间
    private String creationUser;//创建人


    public String getUserOrgId(){
        return userOrgId;
    }
    public void setUserOrgId(String userOrgId){
        this.userOrgId = userOrgId;
    }

    public String getUserId(){
        return userId;
    }
    public void setUserId(String userId){
        this.userId = userId;
    }

    public String getOrgId(){
        return orgId;
    }
    public void setOrgId(String orgId){
        this.orgId = orgId;
    }

    public Timestamp getCreationTime(){
        return creationTime;
    }
    public void setCreationTime(Timestamp creationTime){
        this.creationTime = creationTime;
    }

    public String getCreationUser(){
        return creationUser;
    }
    public void setCreationUser(String creationUser){
        this.creationUser = creationUser;
    }
}
